package com.gome.wechat.program.dao;

import com.gome.wechat.program.entity.GroupPicture;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by liwei113 on 2017/11/17 0017.
 */
public interface GroupPictureRepo extends JpaRepository<GroupPicture, Long> {

    void deleteByGroupActivityId(Long groupActivityId);

    List<GroupPicture> findByGroupActivityId(Long groupActivityId);
}
